package com.cropdoctor.search;

import com.cropdoctor.model.dto.AuditHistoryDto;
import com.cropdoctor.model.dto.PrePublishCourseDto;
import com.cropdoctor.model.po.AuditHistoryPo;
import com.cropdoctor.model.po.CourseInfoPo;
import com.cropdoctor.model.po.PrePublishCoursePo;
import com.cropdoctor.model.po.PublishCoursePo;
import com.cropdoctor.util.Createtable;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import java.sql.SQLException;

@SpringBootTest
public class createTable {
    @Test
    public void testCreateTable() throws SQLException, ClassNotFoundException {
//        AuditHistoryPo auditHistoryPo = new AuditHistoryPo();
//        CourseInfoPo courseInfoPo = new CourseInfoPo();
//        PrePublishCoursePo prePublishCoursePo = new PrePublishCoursePo();
        PublishCoursePo PublishCoursePo = new PublishCoursePo();
        Createtable createtable = new Createtable();
        createtable.createTableUtils(PublishCoursePo,"publish_course");
    }
}
